<span id="${uuid}"></span>

<div class="box_tc_s job-detail">
    <input type="hidden" value="${process.id}" data-id="processId"/>
    <table data-id="table-form" border="0" cellpadding="0" cellspacing="0" class="hydra-table hydra-detail-table">
        <c:forEach items="${process.tProcessAttributes}" var="attribute" varStatus="i">
            <c:if test="${attribute.useBale eq 1}">
                <tr class="hydra-tr-bg" style="border-bottom: 1px dotted #ccc" data-field="${attribute.fieldName}">
                    <td class="hydra-left">${attribute.fieldName}：
                        <input type="hidden" name="fieldName" value="${attribute.fieldName}"/>
                        <input type="hidden" name="orderNo" value="${attribute.orderNo}"/>
                        <input type="hidden" name="unit" value="${attribute.unit}"/>
                        <input type="hidden" name="fieldType" value="${attribute.fieldType}"/>
                    </td>
                    <td class="hydra-right" style="width: 350px">
                         <span data-id="filed" data-field="${attribute.fieldType}" data-field-type-param="${attribute.fieldTypeParam}"
                               data-device="${attribute.useDevice}" data-remark="${attribute.remark}" data-name="parameterValue"
                               data-unit="${attribute.unit}" data-not-null="${attribute.notNull}"
                                 >组件加载中...</span>
                    </td>
                    <td class="hydra-left">
                        <c:if test="${not empty attribute.unit and attribute.unit ne '无'}">
                            单位：
                        </c:if>
                    </td>
                    <td class="hydra-right" style="width: 80px">
                        <c:if test="${not empty attribute.unit and attribute.unit ne '无'}">
                            ${attribute.unit}
                        </c:if>
                    </td>
                    <td class="hydra-left">
                        <c:if test="${attribute.useDevice eq 1}">
                            测量工具：
                        </c:if>
                    </td>
                    <td class="hydra-right" style="white-space: nowrap">
                        <c:if test="${attribute.useDevice eq 1}">
                            <select data-id="device" name="parameterDevice" class="hydra-input-width"
                                    style="width: 100px;"></select>
                        </c:if>
                    </td>
                </tr>
            </c:if>
        </c:forEach>
    </table>
</div>
<script language="javascript" type="text/javascript">
    seajs.use(["apps/process/detail"], function (page) {
        page.init("${pageContext.request.contextPath}", "${uuid}");
    });
</script>
